package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class HandleAlertDataDto {

    @NotNull(message = "报警数据ID不能为空")
    private Long id;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String processingResult;

    /** 处理人名称 */
    @Excel(name = "处理人名称")
    private String processorName;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime processingTime;
}